home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2004 New Year / INTERNET112.ISO / pc / software / windows / building / easy_php / easyphp16_setup.exe / {app} / safe / index-safe.php < prev    next >
Encoding:
Text File  |  2003-09-24  |  2.7 KB  |  95 lines

  1. <html>
  2.  
  3. <head>
  4. <meta http-equiv="Content-Type"
  5. content="text/html; charset=iso-8859-1">
  6. <title>[EasyPHP] - Accueil www</title>
  7.  
  8. <style type="text/css">
  9. .text1 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #CCCCCC}
  10. .text2 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #999999}
  11. .titre1 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
  12.  
  13. </style>
  14.  
  15. </head>
  16.  
  17. <body bgcolor="#505F70" vlink="#CCCCCC" alink="#CCCCCC" link="#CCCCCC">
  18. <table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
  19.     <tr valign="bottom"> 
  20.         <td> 
  21.             <div align="left">  <img src="/images_easyphp/easyphp_anim.gif" width="69" height="23" align="absbottom"></div>
  22.         </td>
  23.     </tr>
  24. </table>
  25.  
  26. <table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
  27.     <tr> 
  28.         <td> 
  29.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  30.                 <tr> 
  31.                     <td> 
  32.                         <div align="center"><img src="/images_easyphp/barre_blanche_700.gif" width="700" height="6"></div>
  33.                     </td>
  34.                 </tr>
  35.                 <tr> 
  36.                     <td> 
  37.                         <div align="center"><img src="/images_easyphp/barre_grise_700.gif" width="700" height="12"></div>
  38.                     </td>
  39.                 </tr>
  40.                 <tr>
  41.                     <td class=text1> </td>
  42.                 </tr>
  43.             </table>
  44.         </td>
  45.     </tr>
  46. </table>
  47.  
  48. <table width="701" border="0" cellspacing="0" cellpadding="1" align="center">
  49.     <tr> 
  50.         <td nowrap valign="top" class=titre1>
  51.             <img src="/images_easyphp/carre_gris.gif" width="8" height="8"> Répertoires à la racine d'apache (www) :
  52.         </td>
  53.         <td valign="top" width="100%" class=text1> 
  54.  
  55. <?
  56. $rep=opendir('.');
  57. while ($file = readdir($rep)) {
  58.     if($file != '..' && $file !='.' && $file !=''){ 
  59.         if (is_dir($file)){
  60.             echo "    ";
  61.             echo "<img src=\"/images_easyphp/dossier.gif\" width=\"15\" height=\"12\"> ";
  62.             echo "<a href=\"$file/\" target=_blank class=text1>$file</a>";
  63.             echo "<br>";
  64.         }
  65.     }
  66. }
  67. closedir($rep);
  68. clearstatcache();
  69. ?>
  70.  
  71.         </td>
  72.     </tr>
  73. </table>
  74.  
  75. <br>
  76. <table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
  77.   <tr>
  78.     <td class="text2">Cette page permet de visualiser les répertoires placés 
  79.       à la racine du serveur. Si vous souhaitez organiser autremnt le répertoire 
  80.       "www", vous pouvez effacer ce fichier. Il en existe une copie 
  81.       de sauvegarde dans le répertoire "safe" (index-safe.php). 
  82.     </td>
  83.   </tr>
  84. </table>
  85. <table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
  86.   <tr> 
  87.   </tr>
  88.   <tr>
  89.     <td><img src="/images_easyphp/barre_grise_700.gif" width="700" height="12"></td>
  90.   </tr>
  91. </table>
  92.  
  93. </body>
  94. </html>
  95.